package com.ruoyi.utils;

import java.math.BigDecimal;

/**
 * @author chongjin
 * @date 2023/7/19
 */
public class RentUtil {

    public static boolean isEmpty(BigDecimal number) {
        return number == null || BigDecimal.ZERO.compareTo(number) == 0;
    }

    public static boolean isNotEmpty(BigDecimal number) {
        return !isEmpty(number);
    }
}
